/**
 * Created by 2006-1-19 17:17:12
 * $Id: User.java 36 2006-06-22 15:00:10Z wjx $
 */
package com.someok.security.model;

import java.util.Date;

import com.someok.base.common.BaseModel;

/**
 * User Class.
 *
 * <p>
 * <a href="User.java.html"><i>View Source</i></a>
 * </p>
 *
 * @author wjx
 * @version $Revision: 36 $ $Date: 2006-06-22 23:00:10 +0800 (星期四, 22 六月 2006) $
 *
 * @hibernate.class table = "t_user" dynamic-insert = "true" dynamic-update = "true"
 */
public class User extends BaseModel {
	private static final long serialVersionUID = 5447136720056853930L;

	protected String id = "";

	protected String loginName = "";

	protected String password = "";

	protected String userName = "";

	protected String email = "";

	protected Date modifyTime = null;

	protected Date createTime = null;

	protected Date lastLoginTime = null;

	public User() {
	}

	/**
	 * @hibernate.property column = "create_time" not-null = "true"
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @hibernate.property column = "email" not-null = "true" length = "50"
	 *
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @hibernate.property column = "last_login_time" not-null = "true"
	 */
	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	/**
	 * @hibernate.columen column = "login_name" not-null = "true" length = "100"
	 */
	public String getLoginName() {
		return loginName;
	}

	/**
	 * @hibernate.property column = "modify_time" not-null = "true"
	 */
	public Date getModifyTime() {
		return modifyTime;
	}

	/**
	 * @hibernate.property column = "passwd" length = "30"
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @hibernate.id column = "user_id"  generator-class = "uuid.hex" length = "32"
	 */
	public String getId() {
		return id;
	}

	/**
	 * @hibernate.property column = "user_name" length = "200" not-null = "true"
	 */
	public String getUserName() {
		return userName;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setId(String userId) {
		this.id = userId;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

}
